package com.example.demo.service.impl;

import com.example.demo.dao.IconListDaoMapper;
import com.example.demo.entity.IconList;
import com.example.demo.entity.SwiperIconList;
import com.example.demo.service.HomeServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author littlebadfox
 * @date 2022-04-24-0:55
 * @desc
 */
@Service
public class HomeService implements HomeServiceImpl {

    @Resource
    IconListDaoMapper iconListDaoMapper;

    @Override
    public List<IconList> getIconlist() {
        return iconListDaoMapper.geticonlist();
    }

    @Override
    public List<SwiperIconList> getSwiperIconList() {
        return iconListDaoMapper.getSwiperIconList();
    }


}
